﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ApartmentSale
{
    public class AffirmanceRuleView
    {
        public int ID { get; set; }
        public string AffirmanceRuleType { get; set; }
        public double AffirmanceRuleAmount { get; set; }
        public double AffirmanceRuleRule { get; set; }

        public override string ToString()
        {
            return AffirmanceRuleType.ToString()
                + "(Prestore "
                + AffirmanceRuleAmount.ToString()
                + " To "
                + (AffirmanceRuleAmount * AffirmanceRuleRule).ToString()
                + ")";
        }
    }
}
